package com.tjetc.service;

import com.tjetc.dao.TeamDao;
import com.tjetc.dao.TeamScoreDao;
import com.tjetc.domain.TeamScore;

import java.sql.SQLException;
import java.util.List;

public class TeamScoreService {
    private TeamScoreDao teamScoreDao =new TeamScoreDao();

    public List<TeamScore> findTeamScore() {
        try {
            return teamScoreDao.findTeamScore();
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return null;
    }
}
